package com.sls.game.dao.eightooj;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.eightooj.EightZeroJProduct;

public interface EightZeroJProductDAO {

	/**
	 * 插入骏网产品信息
	 * 
	 * @param eightZeroJProduct
	 */
	public void insert(EightZeroJProduct eightZeroJProduct);

	/**
	 * 修改骏网产品信息
	 * 
	 * @param eightZeroJProduct
	 */
	public void update(EightZeroJProduct eightZeroJProduct);

	/**
	 * 通过主键id查询产品信息
	 * 
	 * @param id
	 * @return
	 */
	public EightZeroJProduct queryById(String id);

	/**
	 * 通过产品id查询产品信息
	 * 
	 * @param productId
	 * @return
	 */
	public EightZeroJProduct queryByProductId(String productId);

	/**
	 * 分页查询产品信息
	 * 
	 * @param eightZeroJProduct
	 *            条件信息
	 * @return
	 */
	public Pagination<EightZeroJProduct> queryPage(
			EightZeroJProduct eightZeroJProduct);
}
